package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.jdbc.model.TbItemPic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbItemPicMapper extends AbstractTbItemPicMapper{

    void deleteByItemNo(String itemNo);

    List<TbItemPic> selectByItemNo(String itemNo);

    void insertBatch(List<TbItemPic> itemPics);

    void updateBatch(List<TbItemPic> itemUpdatePics);

    void deleteNotInIds(@Param("itemNo")String itemNo,@Param("itemPics") List<TbItemPic> itemPics);
}